package com.zhz.mappers;

import com.zhz.domain.AdminBank;
import com.zhz.dto.AdminBankDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author ：zhz
 * @date ：Created in 2021/05/09
 * @version: V1.0
 * @slogan: 天下风云出我辈，一入代码岁月催
 * @description:
 **/
@Mapper(componentModel = "spring")
public interface AdminBankDtoMappers {

    AdminBankDtoMappers INSTANCE = Mappers.getMapper(AdminBankDtoMappers.class) ;

    AdminBank toConvertEntity(AdminBankDto source) ;

    AdminBankDto toConvertDto(AdminBank source) ;


    List<AdminBank> toConvertEntity(List<AdminBankDto> source) ;

    List<AdminBankDto> toConvertDto(List<AdminBank> source) ;
}
